/**
 * @(#)ChannelApkInfoImpl.java 2016年9月22日
 * Copyright(C) 2015 ZHEXIN IT CO.,LTD. All rights reserved.
 */
package org.jsbd.boss.dao.impl;

import java.util.List;

import org.jsbd.boss.dao.IRetentFillConfigTimerDAO;
import org.jsbd.boss.domian.channel.RetentLogConfig;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;

/**
 * 
 * 留存补量配置定时器
 * @author <a href="mailto:xupengcheng@zhexinit.com" >徐鹏程</a>
 * @version 1.0.0
 */
@Service
public class RetentFillConfigTimerDAOImpl extends CrackBaseDao implements IRetentFillConfigTimerDAO {
	public static final Logger LOGGER = LoggerFactory.getLogger(RetentFillConfigTimerDAOImpl.class);

	@Override
	public void batchInsert(List<RetentLogConfig> list) {
		super.batchInsert("qy_retent_log_config_timer.INSERT_RETENT_LOG", list);
	}

	@Override
	public List<RetentLogConfig> selectRetentLogList(RetentLogConfig retentLogConfig) {
		return super.queryForList("qy_retent_log_config_timer.SELECT_LIST", retentLogConfig);
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see
	 * org.jsbd.boss.dao.IRetentExecLogDAO#selectCountRetentLog(org.jsbd.boss
	 * .domian.channel.RetentLogConfig)
	 */
	@Override
	public Integer selectCountRetentLog(RetentLogConfig retentLogConfig) {
		return super.queryForCount("qy_retent_log_config_timer.SELECT_COUNT_LIST", retentLogConfig);
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see
	 * org.jsbd.boss.dao.IRetentExecLogDAO#delete(org.jsbd.boss.domian.channel
	 * .RetentLogConfig)
	 */
	@Override
	public void delete(RetentLogConfig retentLogConfig) {
		super.delete("qy_retent_log_config_timer.DELETE_CONFIG", retentLogConfig);
	}

}
